package org.nemanjaristic.metamodel.beans;


import javax.persistence.Basic;
import javax.persistence.Entity;

import org.nemanjaristic.metamodel.User;

@Entity
public class UserBean extends BaseBean implements User
{
	
	private static final long serialVersionUID = -793933239683198406L;
	
	private String userName;
	private String password;
	private String emailAddress;
	private String name;
	
	public UserBean()
	{
		super();
	}
	
	public UserBean(String username, String pass)
	{
		this.userName = username;
		this.password = pass;
	}
	@Basic
	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserName() {
		return userName;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	@Basic
	public String getPassword() {
		return password;
	}

	public String getEmailAddress() {
		return emailAddress;
	}

	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
